/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.circle.entity;

import com.thinkgem.jeesite.modules.hk.media.entity.HkMediaCategoryCircle;
import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.User;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 自媒体用户圈子Entity
 * @author 罗天文
 * @version 2018-06-15
 */
public class HkMediaUserCircle extends DataEntity<HkMediaUserCircle> {
	
	private static final long serialVersionUID = 1L;
	private HkMediaCategoryCircle circle;		// 圈子id
	private HkUser user;		// 用户id
	private String remind;		// 消息提醒
	
	public HkMediaUserCircle() {
		super();
	}

	public HkMediaUserCircle(String id){
		super(id);
	}

	public HkMediaCategoryCircle getCircle() {
		return circle;
	}

	public void setCircle(HkMediaCategoryCircle circle) {
		this.circle = circle;
	}

	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
	@Length(min=0, max=1, message="消息提醒长度必须介于 0 和 1 之间")
	public String getRemind() {
		return remind;
	}

	public void setRemind(String remind) {
		this.remind = remind;
	}
	
}